package com.s69.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (MedicalAssay)实体类
 *
 * @author makejava
 * @since 2024-01-04 09:52:41
 */
public class MedicalAssay implements Serializable {
    private static final long serialVersionUID = 789446417043334983L;

    private Integer id;

    private String assayUser;

    private Long hospitalId;

    private Integer assayResult;

    private String phone;

    private String cardNum;

    private Date assayTime;
    private String hospitalName;    //机构名称

    public MedicalAssay() {
    }

    public MedicalAssay(long serialVersionUID, Integer id, String assayUser, Long hospitalId, Integer assayResult, String phone, String cardNum, Date assayTime, String hospitalName) {

        this.id = id;
        this.assayUser = assayUser;
        this.hospitalId = hospitalId;
        this.assayResult = assayResult;
        this.phone = phone;
        this.cardNum = cardNum;
        this.assayTime = assayTime;
        this.hospitalName = hospitalName;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAssayUser() {
        return assayUser;
    }

    public void setAssayUser(String assayUser) {
        this.assayUser = assayUser;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Integer getAssayResult() {
        return assayResult;
    }

    public void setAssayResult(Integer assayResult) {
        this.assayResult = assayResult;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public Date getAssayTime() {
        return assayTime;
    }

    public void setAssayTime(Date assayTime) {
        this.assayTime = assayTime;
    }

    /**
     * 获取
     * @return hospitalName
     */
    public String getHospitalName() {
        return hospitalName;
    }

    /**
     * 设置
     * @param hospitalName
     */
    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String toString() {
        return "MedicalAssay{serialVersionUID = " + serialVersionUID + ", id = " + id + ", assayUser = " + assayUser + ", hospitalId = " + hospitalId + ", assayResult = " + assayResult + ", phone = " + phone + ", cardNum = " + cardNum + ", assayTime = " + assayTime + ", hospitalName = " + hospitalName + "}";
    }
}

